package com.smart.car.record.service;

import com.smart.car.common.res.bean.ResponseResult;
import com.smart.car.record.entity.RecordChargeRule;
import java.util.List;
import java.util.Map;


public interface RecordChargeRuleService {

	List<RecordChargeRule> list();

	int refresh();


	/**
	 * 新增
	 */
	public Object insert(RecordChargeRule recordChargeRule);

	/**
	 * 删除
	 */
	public ResponseResult<String> delete(String id);

	/**
	 * 更新
	 */
	public ResponseResult<String> update(RecordChargeRule recordChargeRule);

	/**
	 * 根据主键 id 查询
	 */
	public RecordChargeRule load(String id);

	/**
	 * 分页查询
	 */
	//public Map<String,Object> pageList(int offset, int pagesize);



}
